# coding:utf-8

class Cat(object):
    __cat_type = 'cat'
    def __init__(self,name,sex):
        self.name = name
        self.__sex = sex

    def run(self):
        resullt = self.__run()
        print(resullt)
    def __run(self):
        return f'{self.__cat_type},小猫{self.name}{self.__sex} 开心地奔跑着'

    def  jump(self):
        result = self.__jump()
        print(result)

    def __jump(self):
        return f'{self.__cat_type}小猫{self.name}{self.__sex} 开心地跳着'

cat = Cat(name='米粒',sex='boy')
cat.run()
cat.jump()
print(dir(cat))
print(cat._Cat__jump())
print(cat._Cat__cat_type)



